package com.hai.mediapicker.util;

import android.content.Context;
import android.os.Environment;

import java.io.File;

/**
 * Created by zhaoshuang on 17/2/8.
 */

public class SDKUtil {

    public static final String VIDEO_PATH = Environment.getExternalStorageDirectory().getAbsolutePath() + "/naonaoApp/video";
    public static final String IMAGE_PATH = Environment.getExternalStorageDirectory().getAbsolutePath() + "/naonaoApp/image";
    public static final String TMP_PATH = Environment.getExternalStorageDirectory().getAbsolutePath() + "/naonaoApp/tmp";

    public static void createDir(String path) {
        File file = new File(path);
        if(!file.exists()) {
            file.mkdirs();
        }
    }
}
